package com.ccrfid.rmc6.repository.alarm;

import com.ccrfid.rmc6.entity.alarm.AlarmLocationTypeEntity;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface AlarmLocationTypeRepository extends Repository<AlarmLocationTypeEntity, Long> {
    //
    Boolean existsByLocationType(Integer locationType);
    //
    List<AlarmLocationTypeEntity> getAllByLocationType(Integer locationType);
}
